@extends('admin/index')
@section('name')
    <h1><span class="label label-default"> 添加权限  </span></h1>
    <hr>

    <div class="container">
        <div class="row">
            <div class="col-md-4 col-md-offset-4">
                <form class="form-horizontal" action="{{url('/perinsert')}}" method="post">
                    {{  csrf_field() }}
                    <div class="form-group">
                        <label for="inputEmail3" class="col-sm-2 control-label">NAME</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" name="per_name" placeholder="权限名">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">CONTOR</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" name="per_contor" placeholder="控制器">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="inputPassword3" class="col-sm-2 control-label">FUNC</label>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" name="per_func" placeholder="方法">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="submit" class="btn btn-default">Addition</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>

@endsection

